package pin.db.schema.base;
import pin.db.schema.*;
import java.util.Hashtable;
import java.sql.Timestamp;
import java.sql.Connection;
import java.sql.ResultSet;
import java.util.Collection;
import java.sql.SQLException;
import java.util.Vector;
public class UserInfoBase{
	boolean[] modified=new boolean[9];
	public void resetModified(){
		for(boolean b:modified){
			b=false;
		}
	}
	private final Hashtable<String,Object> data=new Hashtable<String,Object>();
	public final void set(String columnNameDb, Object value){
		data.put(columnNameDb,value);
	}
	public final Object get(String columnNameDb){
		return data.get(columnNameDb);
	}
	public UserInfoBase(){}
	public UserInfoBase(java.lang.Long userId,java.lang.String nicename,java.lang.Long icon,java.lang.String description,java.lang.String fax,java.lang.String website,java.lang.String other,java.lang.String sign,java.lang.Long postsCounts){
		setUserId(userId);
		setNicename(nicename);
		setIcon(icon);
		setDescription(description);
		setFax(fax);
		setWebsite(website);
		setOther(other);
		setSign(sign);
		setPostsCounts(postsCounts);
	}
	public void setUserId(java.lang.Long userId){
		if(userId!=null) {
			set("userId",userId);
			this.modified[0] =true;
		}
	}
	public java.lang.Long getUserId(){
		return (java.lang.Long)get("userId");
	}
	public void setNicename(java.lang.String nicename){
		if(nicename!=null) {
			set("nicename",nicename);
			this.modified[1] =true;
		}
	}
	public java.lang.String getNicename(){
		return (java.lang.String)get("nicename");
	}
	public void setIcon(java.lang.Long icon){
		if(icon!=null) {
			set("icon",icon);
			this.modified[2] =true;
		}
	}
	public java.lang.Long getIcon(){
		return (java.lang.Long)get("icon");
	}
	public void setDescription(java.lang.String description){
		if(description!=null) {
			set("description",description);
			this.modified[3] =true;
		}
	}
	public java.lang.String getDescription(){
		return (java.lang.String)get("description");
	}
	public void setFax(java.lang.String fax){
		if(fax!=null) {
			set("fax",fax);
			this.modified[4] =true;
		}
	}
	public java.lang.String getFax(){
		return (java.lang.String)get("fax");
	}
	public void setWebsite(java.lang.String website){
		if(website!=null) {
			set("website",website);
			this.modified[5] =true;
		}
	}
	public java.lang.String getWebsite(){
		return (java.lang.String)get("website");
	}
	public void setOther(java.lang.String other){
		if(other!=null) {
			set("other",other);
			this.modified[6] =true;
		}
	}
	public java.lang.String getOther(){
		return (java.lang.String)get("other");
	}
	public void setSign(java.lang.String sign){
		if(sign!=null) {
			set("sign",sign);
			this.modified[7] =true;
		}
	}
	public java.lang.String getSign(){
		return (java.lang.String)get("sign");
	}
	public void setPostsCounts(java.lang.Long postsCounts){
		if(postsCounts!=null) {
			set("postsCounts",postsCounts);
			this.modified[8] =true;
		}
	}
	public java.lang.Long getPostsCounts(){
		return (java.lang.Long)get("postsCounts");
	}
}
